/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.mowa.biblioteca.service.impl;

import com.mowa.biblioteca.dao.AutorDao;
import com.mowa.biblioteca.model.Autor;
import com.mowa.biblioteca.service.AutorService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AutorServiceImpl implements AutorService{

    @Autowired
    private AutorDao autorDao;

    @Override
    public List<Autor> obtenerListaAutor() {
        return autorDao.obtenerListaAutor();
    }

}
